package com.yunatt.service;

import com.yunatt.model.RecordsEntity;

import java.util.List;

public interface RecordsService {
    int deleteByPrimaryKey(Integer id);

    int insert(RecordsEntity record);

    int insertSelective(RecordsEntity record);



    RecordsEntity selectByPrimaryKey(Integer id);



    int updateByPrimaryKeySelective(RecordsEntity record);

    int updateByPrimaryKey(RecordsEntity record);

    List<RecordsEntity> selectAllRecords();

    List<RecordsEntity> selectUserRecords(Long enrollId);
}
